# 将 192.168.1 网段的 ip 添加到新的列表 dest 中
# （要求使用 continue 关键字）
ips = [
    "192.168.1.100", "192.168.1.101","192.168.2.100",
    "192.168.3.100", "192.168.1.200"
]
dest = []
for ip in ips:
    if ip[:10] != "192.168.1.":
        continue
    dest.append(ip)
print(dest)








# index = -1
# while index < len(ips)-1:
#     index += 1
#     if ips[index][:9] != "192.168.1":
#         continue
#     dest.append(ips[index])
# print(dest)
